
package cup.modules.visual.log;

import cup.modules.visual.service.IVisualLogService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 大屏日志配置
 *
 *
 */
@Configuration(proxyBeanMethods = false)
public class VisualLogConfiguration {

	@Bean
	public VisualLogAspect visualLogAspect(IVisualLogService logService) {
		return new VisualLogAspect(logService);
	}

	@Bean
	public VisualLogListener visualLogListener(IVisualLogService logService) {
		return new VisualLogListener(logService);
	}

}
